/** @format */

import { ref } from 'vue'
import { ComponentsType } from './conf' // 引入组件类型'
import { FormProSchemaBox } from './types'

export const theInitialValues = ref<FormProSchemaBox>({
  links: [
    {
      field: 'name',
      label: '姓名',
      type: ComponentsType.Input,
      value: '123123',
    },
    {
      field: 'textarea',
      label: '文本框',
      type: ComponentsType.Textarea,
      value: '123123',
    },
    {
      field: 'sex',
      label: '选择性别',
      type: ComponentsType.Select,
      props: {
        options: [
          { label: '男', value: '男' },
          { label: '女', value: '女' },
        ],
      },
    },
  ],
})
